/**
 * SeaxConstants.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年1月20日
 */
package com.pshare.artemis.framework.constants;

import org.omg.CORBA.INTERNAL;

import com.pshare.util.FileUtils;

/**
 * 常量类
 */
public interface SeaxConstants extends com.pshare.constant.SeaxConstants {
	
	// 用户信息相关
	String USER_WRONG_PWD = "密码错误";
	
	String USER_OLD_NEW_EQ= "新密码不能和原密码相同";
	
	String USER_PWD_NOEQ= "两次输入的新密码不一致";

	String SAVE_SUCCESS = "保存成功";

	String SMS_CONTENT_VERIFYCODE = "您的验证码: %s 。请在3分钟内填写。如非本人操作，请忽略本短信。";


	// 缓存KEY

	String CACHE_VERIFYCODE = "VerifyCode_";
	String CACHE_UUID = "UUID_";
	String CACHE_WRONG_PWD_RECORD = "WRONG_PWD_INPUT_TIMES_";
	String CACHE_CLIENT_VERSION = "CLIENT_VERSION_";
	

	String KEY_NAME_TYPE = "type";


	// 缓存KEY
	String CACHE_STORESHOPID_WITH_ADMINID_REF = "SHOP_ADMIN_REF_";
	String CACHE_STOREADMINID_WITH_SHOPID_REF = "ADMIN_SHOP_REF_";
	String CACHE_SHOP_TYPE_LIST = "SHOP_TYPE_LIST_";
	String CACHE_SHOP = "SHOP_";
	String CACHE_PRODUCT_TYPE_LIST = "PRODUCT_TYPE_LIST_";
	String CACHE_PRODUCT_LIST = "PRODUCT_LIST_";
	String CACHE_SENDER_LOC = "SENDER_LOCATION_";
	String CACHE_SITE_LIST = "SITE_LIST";
	String CACHE_SITE_MAP = "SITE_MAP";

	Integer SMS_TYPE_REG = 1;
	Integer SMS_TYPE_FINDBKPWD = 2;
	Integer SMS_TYPE_ORDER = 3;

	Integer DEFAULT_ANNOUNCEMENT_VALIDITY = 7; // 默认公告有效期
	Integer DEFAULT_SHOP_DISTANCE = 5; // 默认商户搜索范围

	/**
	 * 商户信息修改(用于SysConfig itemKey)
	 */

	String SHOP_BASIC_INFO_MODIFIED_TIME = "shop_basic_info_modified_time";// 基础信息

	String SHOP_AdVANCED_INFO_MODIFIED_TIME = "shop_advanced_info_modified_time";// 高级信息

	String SHOP_PAY_ACCOUNT_INFO_MODIFIED_TIME = "shop_pay_account_info_modified_time";// 收款账户

	Integer SHOP_PAY_ACCOUNT_INFO_MODIFY_PERIOD = 30;// 收款账户能够修改的周期

	//
	int NUMBER_ZERO = 0;// int值0
	
	String SOUND_NEW_ORDER = "newOrder.wav";
	String SOUND_ORDER_RECEIVED = "received.wav";
	
	String URL_500 = "500";

	String MEETING_PLACE_EXT = "EXT";

	
	String CURRENT_ORG_IS_HEADER = "Org_is_header";
	
	String TEMP_FILE_FOLDER = FileUtils.toLocalFilePath("\\tempUpload\\");
	
	String EMAIL_FEEDBACK_REMIND_TITLE = "用户意见反馈提醒";
	String EMAIL_FEEDBACK_REMIND_CONTENT = "用户%s提交了一条意见反馈：%s";
	
	
	String LOCK_DISCONNECT_EMAIL = "网关%s下的地锁%s失去连接，请及时处理";
	String LOCK_CHANGED_EMAIL = "网关%s下的地锁%s被人为闯入，请及时处理";
	String LOCK_RECONNECT_EMAIL = "网关%s下地锁%s重新上线";
	String GATEWAY_RECONNECT_EMAIL = "网关%s重新上线";
	String GATEWAY_DISCONNECT_EMAIL = "网关%s失去连接，请及时处理";
	String FFD_RECONNECT_EMAIL = "网关%s的协调器重新上线";
	String FFD_DISCONNECT_EMAIL = "网关%s的协调器失去连接，请及时处理";
	String NO_AVAILABLE_LOCK_EMAIL = "网关%s下没有空闲的地锁可以使用了";
	String DEVICE_OPERA_FAILED_EMAIL = "地锁%s测试下降时失败   ";
	
	
	String PUSH_EVENT_UPDATE="update";
	String PUSH_EVENT_INTRUDE="intrude";
	
	
}
